package com.lyz.myself.service.ServiceImpl;

import com.lyz.myself.mapper.ConfigMapper;
import com.lyz.myself.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: myself
 * @Date: 2019/2/16 9:11
 * @Author: Mr.Deng
 * @Description:
 */
@Service
public class ConfigServiceImpl implements ConfigService {

    @Autowired
    ConfigMapper configMapper;

    @Override
     /**
     * 查询线索过期天数
     */
    public int getByDay(){
        return configMapper.getByDay();
    }
}
